package com.cskaoyan.market.admin.service;

import com.cskaoyan.market.db.domain.MarketAd;

import java.util.List;

public interface MarketAdminAdService {
    List<MarketAd> list(int page, int limit, String name, String content, String sort, String order);

    MarketAd create(String content, boolean enabled, String link, String name, Byte position, String url);

    MarketAd update(String addTime, String content, Boolean deleted, Boolean enabled, Integer id, String link, String name, Byte position, String updateTime, String url);

    void delete(String addTime, String content, Boolean delete, Boolean enabled, int id, String link, String name, Byte position, String updateTime, String url);
}
